.class Lcom/nemustech/regina/ElementAppList$2$1;
.super Ljava/lang/Object;
.source "ElementAppList.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/ElementAppList$2;->onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/nemustech/regina/ElementAppList$2;

.field final synthetic val$workspace:Lcom/nemustech/regina/RGWorkspace;

.field final synthetic val$wsHolder:Lcom/nemustech/tiffany/world/TFHolder;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ElementAppList$2;Lcom/nemustech/regina/RGWorkspace;Lcom/nemustech/tiffany/world/TFHolder;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 302
    iput-object p1, p0, Lcom/nemustech/regina/ElementAppList$2$1;->this$1:Lcom/nemustech/regina/ElementAppList$2;

    iput-object p2, p0, Lcom/nemustech/regina/ElementAppList$2$1;->val$workspace:Lcom/nemustech/regina/RGWorkspace;

    iput-object p3, p0, Lcom/nemustech/regina/ElementAppList$2$1;->val$wsHolder:Lcom/nemustech/tiffany/world/TFHolder;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V
    .locals 4
    .parameter "object"

    .prologue
    const/4 v3, 0x1

    const/4 v2, 0x0

    .line 306
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList$2$1;->this$1:Lcom/nemustech/regina/ElementAppList$2;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v0}, Lcom/nemustech/regina/ElementAppList;->access$600(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v3, v1}, Lcom/nemustech/regina/ReginaLauncher;->set2DViewVisibility(ZLjava/lang/Runnable;)V

    .line 307
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList$2$1;->this$1:Lcom/nemustech/regina/ElementAppList$2;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v0}, Lcom/nemustech/regina/ElementAppList;->access$700(Lcom/nemustech/regina/ElementAppList;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 308
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList$2$1;->val$workspace:Lcom/nemustech/regina/RGWorkspace;

    invoke-virtual {v0, v2}, Lcom/nemustech/regina/RGWorkspace;->convertToElementObjects(Z)V

    .line 310
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList$2$1;->this$1:Lcom/nemustech/regina/ElementAppList$2;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v0, v2}, Lcom/nemustech/regina/ElementAppList;->access$702(Lcom/nemustech/regina/ElementAppList;Z)Z

    .line 312
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList$2$1;->val$wsHolder:Lcom/nemustech/tiffany/world/TFHolder;

    invoke-virtual {v0, v2}, Lcom/nemustech/tiffany/world/TFHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFObject;->setVisibility(Z)V

    .line 313
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList$2$1;->val$wsHolder:Lcom/nemustech/tiffany/world/TFHolder;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v0

    check-cast v0, Lcom/nemustech/regina/RGWorkspace;

    invoke-virtual {v0}, Lcom/nemustech/regina/RGWorkspace;->getWorkspaceView()Lcom/nemustech/regina/WorkspaceView;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/nemustech/regina/WorkspaceView;->dispatchDisplayVisibility(Z)V

    .line 314
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList$2$1;->val$wsHolder:Lcom/nemustech/tiffany/world/TFHolder;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFHolder;->getObjectInSlot(I)Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFObject;->setVisibility(Z)V

    .line 316
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList$2$1;->this$1:Lcom/nemustech/regina/ElementAppList$2;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v0}, Lcom/nemustech/regina/ElementAppList;->access$600(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getInterceptView()Lcom/nemustech/regina/Intercepter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/Intercepter;->isPendingActionUpEvent()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 317
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList$2$1;->this$1:Lcom/nemustech/regina/ElementAppList$2;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v0}, Lcom/nemustech/regina/ElementAppList;->access$600(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getInterceptView()Lcom/nemustech/regina/Intercepter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/Intercepter;->finishCreateShortCutFromAppList()V

    .line 318
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList$2$1;->this$1:Lcom/nemustech/regina/ElementAppList$2;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v0}, Lcom/nemustech/regina/ElementAppList;->access$600(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getInterceptView()Lcom/nemustech/regina/Intercepter;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/nemustech/regina/Intercepter;->setCreatingShortcutFromAppList(Z)V

    .line 320
    :cond_1
    invoke-virtual {p1}, Lcom/nemustech/tiffany/world/TFObject;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFWorld;->unlock()V

    .line 321
    const-string v0, "ElementAppList"

    const-string v1, "world unlocked"

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 322
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList$2$1;->this$1:Lcom/nemustech/regina/ElementAppList$2;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v0}, Lcom/nemustech/regina/ElementAppList;->access$600(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/nemustech/regina/ReginaLauncher;->setTouchable(Z)V

    .line 323
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList$2$1;->this$1:Lcom/nemustech/regina/ElementAppList$2;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v0}, Lcom/nemustech/regina/ElementAppList;->access$600(Lcom/nemustech/regina/ElementAppList;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/nemustech/regina/ReginaLauncher;->setViewMode(I)V

    .line 324
    iget-object v0, p0, Lcom/nemustech/regina/ElementAppList$2$1;->this$1:Lcom/nemustech/regina/ElementAppList$2;

    iget-object v0, v0, Lcom/nemustech/regina/ElementAppList$2;->this$0:Lcom/nemustech/regina/ElementAppList;

    invoke-static {v0, v2}, Lcom/nemustech/regina/ElementAppList;->access$802(Lcom/nemustech/regina/ElementAppList;I)I

    .line 325
    const-string v0, "ElementAppList"

    const-string v1, "------------Returning to Workspace END-----------------"

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 326
    return-void
.end method
